#define _CRT_SECURE_NO_WARNINGS 1

#include"binary.h"

int main()
{
	BTNode* root = CreatBinaryTree();
	PreOrder(root);
	printf("\n");
	InOrder(root);
	printf("\n");
	PostOrder(root);
	printf("\n");
	LevelOrder(root);
	printf("\n");

	int size1 = 0;
	BinaryTressSize1(root, &size1);
	printf("%d\n", size1);

	printf("%d\n", BinaryTressSize2(root)); 

	printf("%d\n", BinaryTreeHeight(root));

	printf("%d\n", BinaryTreeKLevel(root, 3));

	int ret = isFullBinaryTree(root);
	printf("%d ", ret);

	DestroyBinaryTree(root);
	root = NULL;


	return 0;
}